<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh-CN">
<head>
<title>折纸</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="description" content="" />
<meta name="keywords" content="" />
<script type="text/javascript">
    var h = 0.01;
    document.write('折30次后的厚度为:' + (h*Math.pow(2,30))/1000 + '米');
    document.write('<br />');
    for(var i=1; i<=20; i++) {
        if(h*Math.pow(2,i)/1000 >= 1) {
            document.write('当折' + i + '次后厚度会超过1米');
            break;
        }
    }

</script>

<style type="text/css">
</style>
</head>
    <body>
    </body>
</html>